﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Transactions;

using MINERP.DAL;
using MINERP.DAL.InfoConfig;

namespace MINERP.BLL.InfoConfig
{
    public class WorkerGroupBLL
    {
        #region //Private Fields


        #endregion


        #region //Public Properties

        #endregion



        #region //Public Methods
        public List<tb_WorkerGroup> GetWorkerGroupList()
        {
            return WorkerGroupDAL.GetWorkerGroupList();
        }

        public tb_WorkerGroup GetWorkerGroupObj(int id)
        {
            return WorkerGroupDAL.GetWorkerGroupObj(id);
        }

        public tb_WorkerGroup GetWorkerGroupObj(string nane)
        {
            return WorkerGroupDAL.GetWorkerGroupObj(nane);
        }


        public void Add(tb_WorkerGroup obj)
        {
            WorkerGroupDAL.Add(obj);
        }

        public void Update()
        {
            WorkerGroupDAL.Update();
        }
        public void Delete(tb_WorkerGroup obj)
        {
            WorkerGroupDAL.Delete(obj);
        }
        #endregion

    }
}
